package thinkinjava1.ch12;

/**
 * PassHandles 传递句柄
 * <p>
 * author: 顾博君 <br>
 * time:   2017/2/24 14:29 <br>
 * e-mail: gubojun@csii.com.cn <br>
 * </p>
 */
public class PassHandles {
    static void f(PassHandles h) {
        System.out.println("h inside f(): " + h);
    }

    public static void main(String[] args) {
        PassHandles p = new PassHandles();
        System.out.println("p inside main(): " + p);
        f(p);
    }
}
